<?php 
	require_once('Connections/con2.php');

	if( isset($_SESSION["autenticado"]) != true){
		header("Location: /sgs/?index.php&pg=login&res=erro");
	}
	
	mysql_select_db($database_con2, $con2);
	$query_rs_sit = "SELECT * FROM status";
	$rs_sit = mysql_query($query_rs_sit, $con2) or die(mysql_error());
	$row_rs_sit = mysql_fetch_assoc($rs_sit);
	$totalRows_rs_sitmp = mysql_num_rows($rs_sit);
?>

Situacoes de Servicos Cadastrados

	<table width="944" border="0">
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td width="156"><div align="center"><b>Situacao</b></div></td>
        <td width="778"><b>Descricao</b></td>        
      </tr>    
    </table>
    
<?php do { ?>
  <div class="relatorio">    
   <table width="984" border="0">
      <tr>
        <td width="105"><?php echo $row_rs_sit['status']; ?></td>
		<td width="869"><?php echo $row_rs_sit['descricao']; ?></td>
      </tr>      
    </table>
  </div>
<?php } while ($row_rs_sit = mysql_fetch_assoc($rs_sit));
?>  

<?php
	mysql_free_result($rs_sit);
?>
